using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace ns
{
    ///<summary>
    ///
    ///</summary>
    public class OutWaterTrigger : FSMTrigger
    {
        public override bool HandleTrigger(FSMBase fsm)
        {
            if (fsm.WaterTile != fsm.specialTiles["water1"])
            {
                if (fsm.WaterTile != fsm.specialTiles["water2"])
                {
                    return true;
                }
            }
            return false;
        }

        public override void Init()
        {
           TriggerID = FSMTriggerID.OutWater;
        }
    }
}
